# configs/configs.py

import os

# 获取当前脚本所在目录
current_dir = os.path.abspath(os.path.dirname(__file__))

# 获取上一级目录
DIR_PATH = os.path.dirname(current_dir)

# 示例配置项
settings = {
    "base_url": "https://m1testapi.vowicr.com",
    "auth": {
        "method": "jwt",
        "token_url": "/test/api/user/user/login",
        "username": "16620000906",
        "password": "123456",
        "Client-Id": "42119fd3b33b2a42fc9ad8a5ccf818f0",
        "Content-Type": "form-data"
    },
    "project_path": current_dir,
    "parent_dir": DIR_PATH
}


